package com.simtop.dao;

import com.simtop.vo.Swlane;
import com.simtop.vo.Swrelationlane;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

@Mapper
public interface SwlaneMapper {
    List<Swlane> findall();
    Integer savestate(@Param("swlanestate")Integer swlanestate,@Param("id") Integer id);
    Integer savename(@Param("id") Integer id,@Param("swlane")String swlane);
    Integer deletelane(@Param("id")Integer id);
    Integer insertlane(@Param("swlane")String swlane);
    Integer deleterelation(@Param("deviceid")Integer deviceid);
    Integer insertrelation(@Param("deviceid")Integer deviceid,@Param("laneid") Integer laneid);
    List<Swrelationlane>findlane(@Param("deviceid")Integer deviceid);

}
